﻿namespace Beetle
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Configuration;

    public class PoolSection : ConfigurationSection
    {
        [GeneratedCode("ConfigurationSectionDesigner.CsdFileGenerator", "2.0.0.5")]
        internal const string _field_a = "poolSection";
        [GeneratedCode("ConfigurationSectionDesigner.CsdFileGenerator", "2.0.0.5")]
        internal const string _field_b = "xmlns";
        [GeneratedCode("ConfigurationSectionDesigner.CsdFileGenerator", "2.0.0.5")]
        internal const string _field_c = "servers";

        [GeneratedCode("ConfigurationSectionDesigner.CsdFileGenerator", "2.0.0.5")]
        public override bool IsReadOnly()
        {
            return false;
        }

        [GeneratedCode("ConfigurationSectionDesigner.CsdFileGenerator", "2.0.0.5")]
        public static PoolSection Instance
        {
            get
            {
                return (PoolSection) ConfigurationManager.GetSection("poolSection");
            }
        }

        [GeneratedCode("ConfigurationSectionDesigner.CsdFileGenerator", "2.0.0.5"), Description("The Servers."), ConfigurationProperty("servers", IsRequired=true, IsKey=false, IsDefaultCollection=false)]
        public virtual Nodes Servers
        {
            get
            {
                return (Nodes) base["servers"];
            }
            set
            {
                base["servers"] = value;
            }
        }

        [GeneratedCode("ConfigurationSectionDesigner.CsdFileGenerator", "2.0.0.5"), ConfigurationProperty("xmlns", IsRequired=false, IsKey=false, IsDefaultCollection=false)]
        public string Xmlns
        {
            get
            {
                return (string) base["xmlns"];
            }
        }
    }
}

